Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore Null Values in output #944

Closed

Conversation

kosinsky
Copy link
Contributor

Ignoring null values during serialization to improve performance and decrease output size in case of sparse entities.
Behavior controlled by ODataWriterSettings and disabled by default

Recreating PR #569 to start from different branch

@xuzhg
Copy link
Member

xuzhg commented Oct 19, 2017

As @mikepizzo said, we should consider to use the request header, Right?

@kosinsky
Copy link
Contributor Author

Yes. Prefer: omit-values=nulls (http://docs.oasis-open.org/odata/odata/v4.01/csprd01/part1-protocol/odata-v4.01-csprd01-part1-protocol.html#_Toc470092999 ). Still working on implementation

@mikepizzo
Copy link
Member

Closed in favor of PR #1106.

@mikepizzo mikepizzo closed this Apr 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants